package org.jeecg.modules.demo.weixin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 叮咚云短信签名
 * @Author: jeecg-boot
 * @Date:   2023-11-22
 * @Version: V1.0
 */
@Data
@TableName("smt_massage_sign")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_massage_sign对象", description="叮咚云短信签名")
public class SmtMassageSign implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;
	/**签名id*/
	@Excel(name = "签名id", width = 15)
    @ApiModelProperty(value = "签名id")
    private String signId;
	/**签名内容*/
	@Excel(name = "签名内容", width = 15)
    @ApiModelProperty(value = "签名内容")
    private String signName;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updteTime;
	/**是否删除（0-未删除 1- 删除）*/
	@Excel(name = "是否删除（0-未删除 1- 删除）", width = 15)
    @ApiModelProperty(value = "是否删除（0-未删除 1- 删除）")
    @TableLogic
    private Integer isDel;
	/**审核状态*/
	@Excel(name = "审核状态", width = 15)
    @ApiModelProperty(value = "审核状态")
    private String checkStatus;


    /**失败原因*/
    @Excel(name = "失败原因", width = 15)
    @ApiModelProperty(value = "失败原因")
    private String reason;
}
